﻿namespace MSSqlSchemaDoc.Core.DataStructures
{
    using System;
    using System.Xml.Serialization;

    /// <summary>
    /// Represents the settings of an identity column.
    /// </summary>
    [Serializable()]
    public class IdentityColumn
    {
        /// <summary>
        /// Gets or sets the seed value of the identity.
        /// </summary>
        [XmlAttribute()]
        public int Seed { get; set; }

        /// <summary>
        /// Gets or sets the increment value of the identity.
        /// </summary>
        [XmlAttribute()]
        public int Increment { get; set; }
    }
}
